<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}

    <div class="form-group">
        <label for="c-kf_name" class="control-label col-xs-12 col-sm-2">{:__('Kfname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-kf_name" data-rule="required" class="form-control" name="row[kf_name]" type="text" value="{$row.kf_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-domain" class="control-label col-xs-12 col-sm-2">{:__('Domain')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-domain" data-rule="required" class="form-control" name="row[domain]" type="text" value="{$row.domain|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-app_id" class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_id" data-rule="required" class="form-control" name="row[app_id]" type="text" value="{$row.app_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-app_secret" class="control-label col-xs-12 col-sm-2">{:__('AppSecret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_secret" data-rule="required" class="form-control" name="row[app_secret]" type="text" value="{$row.app_secret|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-wx_check_signature_token" class="control-label col-xs-12 col-sm-2">{:__('Wxchecksignaturetoken')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_check_signature_token" data-rule="required" class="form-control" name="row[wx_check_signature_token]" type="text" value="{$row.wx_check_signature_token|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxchecksignature')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[wx_check_signature]', ['1'=>__('Wxchecksignature1'), '2'=>__('Wxchecksignature2')], $row['wx_check_signature'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Kffrontpnlywx')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[kf_front_only_wx]', ['1'=>__('Kffrontpnlywx1'), '2'=>__('Kffrontpnlywx2')], $row['kf_front_only_wx'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Getwxtokenbyinterface')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[get_wx_token_by_interface]', ['1'=>__('Getwxtokenbyinterface1'), '2'=>__('Getwxtokenbyinterface2')], $row['get_wx_token_by_interface'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mylogshow')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[my_log_show]', ['1'=>__('Mylogshow1'), '2'=>__('Mylogshow2')], $row['my_log_show'])}
        </div>
    </div>

    <div class="form-group">
        <label for="c-wx_message_template_id_2" class="control-label col-xs-12 col-sm-2">{:__('Wxmessagetemplateid2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_message_template_id_2" data-rule="required" class="form-control" name="row[wx_message_template_id_2]" type="text" value="{$row.wx_message_template_id_2|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-wx_message_template_id_3" class="control-label col-xs-12 col-sm-2">{:__('Wxmessagetemplateid3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wx_message_template_id_3" data-rule="required" class="form-control" name="row[wx_message_template_id_3]" type="text" value="{$row.wx_message_template_id_3|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-login_token_vaild_time" class="control-label col-xs-12 col-sm-2">{:__('Logintokenvaildtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-login_token_vaild_time" data-rule="required" class="form-control" name="row[login_token_vaild_time]" type="text" value="{$row.login_token_vaild_time|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-liuyan_submit_count" class="control-label col-xs-12 col-sm-2">{:__('Liuyansubmitcount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-liuyan_submit_count" data-rule="required" class="form-control" name="row[liuyan_submit_count]" type="text" value="{$row.liuyan_submit_count|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-liuyan_submit_count_time" class="control-label col-xs-12 col-sm-2">{:__('Liuyansubmitcounttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-liuyan_submit_count_time" data-rule="required" class="form-control" name="row[liuyan_submit_count_time]" type="text" value="{$row.liuyan_submit_count_time|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-amap_key" class="control-label col-xs-12 col-sm-2">{:__('Amapkey')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amap_key" data-rule="required" class="form-control" name="row[amap_key]" type="text" value="{$row.amap_key|htmlentities}">
        </div>
    </div>



    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
